package com.service.impl;

import java.util.Map;

import net.sf.json.JSONObject;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dao.PointDao;
import com.service.PointService;

@Service
public class PointServiceImpl implements PointService{

	@Autowired
	private PointDao pointDao;
	@Override
	public Map<String, Object> insertPoint(String mId, String lId,String type,String deviceType,
			JSONObject logs) {
		return pointDao.insertPoint(mId, lId, type,deviceType,logs);
	}

	@Override
	public Map<String, Object> countPoint(String lId,String type,String deviceType, JSONObject logs) {
		return pointDao.countPoint(lId,type, deviceType,logs);
	}

	
	
}
